import { CoreAli } from './ali.entity'
import { Column, Entity, PrimaryGeneratedColumn, ManyToOne } from 'typeorm'
@Entity()
export class CoreAliSmsSign {
  @PrimaryGeneratedColumn()
  id: number

  // 小明跑腿
  @Column({
    comment: '签名'
  })
  signName: string

  // 阿里找好
  @ManyToOne(type => CoreAli, ali => ali.signs, {
    eager: true
  })
  ali: CoreAli
}
